<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>查看员工信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
    <script src="../../static/js/jquery-3.6.0.min.js"></script>

</head>
<body>

<form id="myform" class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
    <!--id在页面中隐藏了，前端传递给后端也传递了id值  -->
    <input type="hidden" name="id">
    <div class="layui-form-item">
        <label class="layui-form-label"><b>员工编码：</b></label>
        <div class="layui-input-inline">
            <input type="text" id="name_num" disabled name="name_num" disabled autocomplete="off" class="layui-input">
        </div>
        <label class="layui-form-label required"><b>员工姓名：</b></label>
        <div class="layui-input-inline">
            <input type="text" name="username" disabled autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item" pane="">
        <label class="layui-form-label required"><b>性别：</b></label>
        <div class="layui-input-inline">
            <input type="text" name="sex" disabled autocomplete="off" class="layui-input">
        </div>
        <label class="layui-form-label required"><b>员工状态：</b></label>
        <div class="layui-input-inline">
            <input type="text" name="status" disabled autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"><b>角色名称：</b></label>
        <div class="layui-input-inline">
            <input type="text" id="role_name" disabled name="role_name" disabled autocomplete="off" class="layui-input">
        </div>
        <label class="layui-form-label required"><b>部门名称：</b></label>
        <div class="layui-input-inline">
            <input type="text" name="department_name" disabled autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item" pane="">
        <label class="layui-form-label required"><b>更新时间：</b></label>
        <div class="layui-input-inline">
            <input type="text" name="update_time" disabled autocomplete="off" class="layui-input">
        </div>
    </div>

    <script>

    </script>

</form>
<script src="../../static/layui/layui.js"></script>
<script src="../../static/js/jquery-3.6.0.min.js"></script>
<script>
    layui.use('laydate', function(){
        var laydate = layui.laydate;
        //执行一个laydate实例
        laydate.render({
            elem: '#birth', //指定元素
            type: 'date' //含年月日，不含时分秒
        });
        laydate.render({
            elem: '#entry_time', //指定元素
            type: 'datetime' //既含年月日，也含时分秒
        });
    });
</script>

</body>
</html>